/*
 * Motor_Driver.h
 *
 * Created: 1/27/2013 7:52:20 PM
 *  Author: Parag
 */ 


#ifndef MOTOR_DRIVER_H_
#define MOTOR_DRIVER_H_

#include <avr/io.h>
#include <stdbool.h>
#include <avr/sfr_defs.h>


#define P_Pump                          PD0     // Water Pump
#define P_Solenoid                      PD1     // Solenoid
#define P_Invert                        PD2 // Motor_Invert


void MotorInit();
void MotorOnForward();
void MotorOnBack();
void MotorOff();
bool StatusProblem();

#endif /*  MOTOR_DRIVER_H_ */